package com.szsh.aiot.hsm.dto.ability;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 获取下挂设备限时上网配置接口响应
 *
 * @author dd
 * @date 2021/08/19
 */
public class GetLanhostTimerResponse extends AbilityResponse {
    /**下挂设备 MAC地址*/
    @SerializedName("MAC")
    private String mac;
    private String description;
    /** 上网时间限制配置，多条配置 */
    @SerializedName("Info")
    private List<GetLanhostTimerResponseInfo> info;

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<GetLanhostTimerResponseInfo> getInfo() {
        return info;
    }

    public void setInfo(List<GetLanhostTimerResponseInfo> info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

}
